package com.example.demo;

import org.junit.Test;

public class SingletonTest1 {


    @Test
    public void test1(){

        SingletonDemo1 instance = SingletonDemo1.getInstance();

        SingletonDemo1 instance1 = SingletonDemo1.getInstance();

        System.out.println(instance1 == instance);

    }

}
